package com.xssn.fjnd.feign;


import com.xssn.fjnd.feign.req.UserInfoREQ;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "xssn-content-server", path = "/content")
public interface IFeignContentController {

    //    allowMultiple = true 表示是数组格式的参数，  dataType = "String" 数组中参数的类型

    @ApiOperation("Feign接口-更新视频表和评论表中的用户信息")
    @PutMapping("/feign/video/updateUserInfo")
    boolean updateUserInfo(@RequestBody UserInfoREQ req);


}
